//
// Created by Administrator on 2016/12/9.
//

#ifndef PROJECT_STDAFX_H
#define PROJECT_STDAFX_H

#endif //PROJECT_STDAFX_H

#define SDL_MAIN_HANDLED

#include <iostream>

#include <unordered_map>

#include <ZainTL.h>
#include <ZainGL.h>

#include "sdl_scancode_to_dinput_mappings.h"

#include <bullet3/btBulletDynamicsCommon.h>

//CEGUI
#include <CEGUI/CEGUI.h>
#include <CEGUI/RendererModules/OpenGL/GL3Renderer.h>

struct BTNPOINT {
    int32_t x, y;
};

struct AXESPOS {
    int32_t X;
    int32_t Y;
    int32_t Z;

    bool operator==(const AXESPOS &rhs) const {
        return X == rhs.X &&
               Y == rhs.Y &&
               Z == rhs.Z;
    }

    bool operator!=(const AXESPOS &rhs) const {
        return !(rhs == *this);
    }
};

enum AXES {
    X, Y, Z
};

enum FACE {
    NONE, A, A1, B, B1, C, C1
};